home *** CD-ROM | disk | FTP | other *** search
/ Reverse Code Engineering RCE CD +sandman 2000 / ReverseCodeEngineeringRceCdsandman2000.iso / RCE / Ebooks / Thinking in C++ V2 / C13 / Borland.makefile < prev    next >
Encoding:
Makefile  |  2000-05-25  |  2.2 KB  |  94 lines

  1. # From Thinking in C++, 2nd Edition
  2. # At http://www.BruceEckel.com
  3. # (c) Bruce Eckel 1999
  4. # Copyright notice in Copyright.txt
  5. # Automatically-generated MAKEFILE 
  6. # For examples in directory C13
  7. # using the Borland compiler
  8. # Note: does not make files that will 
  9. # not compile with this compiler
  10. # Invoke with: make -f Borland.makefile
  11.  
  12. # Note: this requires the upgrade from
  13. # www.Borland.com for successful compilation!
  14. CPP = Bcc32
  15. CPPFLAGS = -w-inl -w-csu -wnak
  16. OFLAG = -e
  17. .SUFFIXES : .obj .cpp .c
  18. .cpp.obj :
  19.     $(CPP) $(CPPFLAGS) -c $<
  20. .c.obj :
  21.     $(CPP) $(CPPFLAGS) -c $<
  22.  
  23. all: \
  24.     MallocClass.exe \
  25.     Newdel.exe \
  26.     PStashTest.exe \
  27.     Stack4Test.exe \
  28.     Newhandl.exe \
  29.     GlobalNew.exe \
  30.     Framis.exe \
  31.     ArrayNew.exe \
  32.     NoMemory.exe \
  33.     PlacementNew.exe 
  34.  
  35. test: all 
  36.     MallocClass.exe  
  37.     Newdel.exe  
  38.     PStashTest.exe  
  39.     Stack4Test.exe  
  40.     Newhandl.exe  
  41.     GlobalNew.exe  
  42.     Framis.exe  
  43.     ArrayNew.exe  
  44.     NoMemory.exe  
  45.     PlacementNew.exe  
  46.  
  47. bugs: 
  48.     @echo No compiler bugs in this directory!
  49.  
  50. MallocClass.exe: MallocClass.obj 
  51.     $(CPP) $(OFLAG)MallocClass.exe MallocClass.obj 
  52.  
  53. Newdel.exe: Newdel.obj 
  54.     $(CPP) $(OFLAG)Newdel.exe Newdel.obj 
  55.  
  56. PStashTest.exe: PStashTest.obj PStash.obj 
  57.     $(CPP) $(OFLAG)PStashTest.exe PStashTest.obj PStash.obj 
  58.  
  59. Stack4Test.exe: Stack4Test.obj Stack4.obj 
  60.     $(CPP) $(OFLAG)Stack4Test.exe Stack4Test.obj Stack4.obj 
  61.  
  62. Newhandl.exe: Newhandl.obj 
  63.     $(CPP) $(OFLAG)Newhandl.exe Newhandl.obj 
  64.  
  65. GlobalNew.exe: GlobalNew.obj 
  66.     $(CPP) $(OFLAG)GlobalNew.exe GlobalNew.obj 
  67.  
  68. Framis.exe: Framis.obj 
  69.     $(CPP) $(OFLAG)Framis.exe Framis.obj 
  70.  
  71. ArrayNew.exe: ArrayNew.obj 
  72.     $(CPP) $(OFLAG)ArrayNew.exe ArrayNew.obj 
  73.  
  74. NoMemory.exe: NoMemory.obj 
  75.     $(CPP) $(OFLAG)NoMemory.exe NoMemory.obj 
  76.  
  77. PlacementNew.exe: PlacementNew.obj 
  78.     $(CPP) $(OFLAG)PlacementNew.exe PlacementNew.obj 
  79.  
  80.  
  81. MallocClass.obj: MallocClass.cpp ..\require.h 
  82. Newdel.obj: Newdel.cpp 
  83. PStash.obj: PStash.cpp PStash.h 
  84. PStashTest.obj: PStashTest.cpp PStash.h ..\require.h 
  85. Stack4.obj: Stack4.cpp Stack4.h 
  86. Stack4Test.obj: Stack4Test.cpp Stack4.h ..\require.h 
  87. Newhandl.obj: Newhandl.cpp 
  88. GlobalNew.obj: GlobalNew.cpp 
  89. Framis.obj: Framis.cpp 
  90. ArrayNew.obj: ArrayNew.cpp 
  91. NoMemory.obj: NoMemory.cpp 
  92. PlacementNew.obj: PlacementNew.cpp 
  93.  
  94.